package com.fqyd.campustransaction.mapper;

import com.fqyd.campustransaction.model.Goods;
import com.fqyd.campustransaction.model.GoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GoodsMapper {
    /**
     *
     * @mbggenerated
     */
    int countByExample(GoodsExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByExample(GoodsExample example);

    /**
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int insert(Goods record);

    /**
     *
     * @mbggenerated
     */
    int insertSelective(Goods record);

    /**
     *
     * @mbggenerated
     */
    List<Goods> selectByExample(GoodsExample example);

    /**
     *
     * @mbggenerated
     */
    Goods selectByPrimaryKey(String id);

    /**
     *
     * @mbggenerated
     */
    int updateByExampleSelective(@Param("record") Goods record, @Param("example") GoodsExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByExample(@Param("record") Goods record, @Param("example") GoodsExample example);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(Goods record);

    /**
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(Goods record);

    List<Goods> getByUserAndOrderId(Goods goods);
}